package com.artist.entity;

import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;
@Table
public class TbWorking {
  @Id
  private Long id;
  private String type;
  private String img;
  private String text;
  private Long status;
  private Timestamp creatAt;
  private Timestamp updateAt;
  private String updateBy;

  @Override
  public String toString() {
    return "TbWorking{" +
            "id=" + id +
            ", type='" + type + '\'' +
            ", img='" + img + '\'' +
            ", text='" + text + '\'' +
            ", status=" + status +
            ", creatAt=" + creatAt +
            ", updateAt=" + updateAt +
            ", updateBy='" + updateBy + '\'' +
            '}';
  }

  public TbWorking() {
  }

  public TbWorking(Long id, String type, String img, String text, Long status, Timestamp creatAt, Timestamp updateAt, String updateBy) {
    this.id = id;
    this.type = type;
    this.img = img;
    this.text = text;
    this.status = status;
    this.creatAt = creatAt;
    this.updateAt = updateAt;
    this.updateBy = updateBy;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }


  public String getImg() {
    return img;
  }

  public void setImg(String img) {
    this.img = img;
  }


  public String getText() {
    return text;
  }

  public void setText(String text) {
    this.text = text;
  }


  public Long getStatus() {
    return status;
  }

  public void setStatus(Long status) {
    this.status = status;
  }


  public java.sql.Timestamp getCreatAt() {
    return creatAt;
  }

  public void setCreatAt(java.sql.Timestamp creatAt) {
    this.creatAt = creatAt;
  }


  public java.sql.Timestamp getUpdateAt() {
    return updateAt;
  }

  public void setUpdateAt(java.sql.Timestamp updateAt) {
    this.updateAt = updateAt;
  }


  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }

}
